Parse and format time values in Perl.
